module MC.Call {
    export function File(select: JQuery, fun: Function) {
        let input = select[0];
        select.on('change', () => {
            var fd = new FormData(); 
            fd.append('fileName', input.files[0]);
            fun(fd);
        });
    }
}